# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-vecx
pkgver=0_git20200109
pkgrel=0
_commit="321205271b1c6be5dbdb8d309097a5b5c2032dbd"
pkgdesc="libretro adaptation of vecx"
url="https://github.com/libretro/libretro-vecx"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-vecx/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-vecx-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 vecx_libretro.so "$pkgdir"/usr/lib/libretro/vecx_libretro.so
}

sha512sums="f0c5b326038aa846ed627245cee2b2b80ed5beb663f90bc43abce3e7a9c6a51b7ab10dae7f5ee60eadab46029090bc434db92fe748dbb308cf21a7e986465224  libretro-vecx-321205271b1c6be5dbdb8d309097a5b5c2032dbd.tar.gz"
